package com.java2104.entity;

import java.sql.Timestamp;

//打卡记录
public class Card {
    private Integer cardId;//打卡ID
    private Timestamp cardTime;//打卡时间
    private String info;//信息提示
    private Employee employee;//打卡记录对应的员工信息

    public Card() {
    }

    @Override
    public String toString() {
        return "Card{" +
                "cardId=" + cardId +
                ", cardTime=" + cardTime +
                ", info='" + info + '\'' +
                ", employee=" + employee +
                '}';
    }

    public Card(Integer cardId, Timestamp cardTime, String info, Employee employee) {
        this.cardId = cardId;
        this.cardTime = cardTime;
        this.info = info;
        this.employee = employee;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Timestamp getCardTime() {
        return cardTime;
    }

    public void setCardTime(Timestamp cardTime) {
        this.cardTime = cardTime;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }
}
